package com.thinkgem.jeesite.modules.app.service;

import com.thinkgem.jeesite.modules.app.dao.PhoneMessageDao;
import com.thinkgem.jeesite.modules.app.entity.ANeighborhood;
import com.thinkgem.jeesite.modules.app.entity.PhoneMessage;
import com.thinkgem.jeesite.modules.cms.dao.ArticleDataDao;
import com.thinkgem.jeesite.modules.cms.dao.ClassifiedInfoDataDao;
import com.thinkgem.jeesite.modules.cms.entity.ArticleData;
import com.thinkgem.jeesite.modules.cms.entity.ClassifiedInfoData;
import com.thinkgem.jeesite.modules.sys.dao.OfficeDao;
import com.thinkgem.jeesite.modules.sys.dao.UserDao;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import com.thinkgem.jeesite.modules.sys.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by zhangpeng on 16/9/10.
 */
@Service
@Transactional(readOnly = false)
public class PhoneMessageService {

    @Autowired
    private PhoneMessageDao phoneMessageDao;

    public PhoneMessage get(PhoneMessage phoneMessage){
        return phoneMessageDao.get(phoneMessage);
    }

    public void delete(PhoneMessage phoneMessage){
         phoneMessageDao.delete(phoneMessage);
    }

    public void addCode(PhoneMessage phoneMessage){
        phoneMessageDao.addCode(phoneMessage);
    }



}
